home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
wtek0693.zip
/
OOPALLEY.ZIP
/
ASSOCINT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-27
|
731b
|
26 lines
#ifndef ASSOCINT_H
#define ASSOCINT_H
#include "lookupke.h"
#include "integer.h"
extern const Class class_AssocInt;
////////////////////////////////////////////////////////////
// class AssocInt (declaration)
////////////////////////////////////////////////////////////
class AssocInt: public LookupKey {
Integer avalue;
public:
// constructors, destructors
AssocInt(const Object& newKey =*nil, int newValue =0);
virtual void deepenShallowCopy();
virtual const Class* isA() const;
virtual void printOn(ostream& strm) const;
virtual Object* value() const;
virtual Object* value(const Object& newValue);
};
#endif